<template>
  <div class="setting-account">
    <img class="logo" src="../../../assets/imgs/logo.jpg" alt="logo">
    <div class="guid">GUID: {{ guid }} <copy-outlined @click="copyGuid"/></div>
    <div><a-button type="primary">导出秘钥</a-button></div>
  </div>
</template>

<script setup>
import { CopyOutlined } from "@ant-design/icons-vue";
import {handleCopy} from "../../../util";

const guid = 'vm_3a002329b1844a838c66'

function copyGuid() {
  handleCopy(guid)
}
</script>

<style lang="less" scoped>
.setting-account{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  .logo{
    width: 288px;
    margin-bottom: 16px;
  }
  .guid{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 16px;
    .anticon{
      &:hover{
        color: @primary-color;
        cursor: pointer;
      }
    }
  }
  .ant-btn{
    width: 130px;
  }
}
</style>